﻿using System;
using System.Diagnostics;
using System.Globalization;

namespace F2FTraderq
{
    public partial class Main
    {
        public string NameOfPlugin = "F2FTrader";
        public string DoubleDash = "\\";
        public string DashRight = "/";
        public string MainPath = "Plugins" + "\\" + "F2FTrader" + "\\" + "logs" + "\\";
        public string DayOfWeek = String.Format("{0:dd}", DateTime.Now.DayOfWeek.ToString());
        public string Month = String.Format("{0:MMMM}", DateTime.Now.Month.ToString(CultureInfo.InvariantCulture));
        public string DayNumber = String.Format("{0:dddd}", DateTime.Now.Day.ToString(CultureInfo.InvariantCulture));
        public string Year = String.Format("{0:yyyy}", DateTime.Now.Year.ToString(CultureInfo.InvariantCulture));
        public char[] CharsToTrim = { '.' };
        public Stopwatch Stopwatch = new Stopwatch();
        
        public string RemoveDigits(string key)
        {
            return System.Text.RegularExpressions.Regex.Replace(key, @"\D", string.Empty);
        }
    }
}
